import Request from '@/libs/request'
import qs from 'qs'

/**查询合格标准 ---多设备 */
export const uSelectMyAllDevStandRange = (data: {userId: string | number}) =>
  Request.get<Standard.StandardData[]>('/user/uSelectMyAllDevStandRange', data)

/**用户修改合格标准 */
export const uEditDevStandRange = (data: {devSRId: number; standRange: string}) =>
  Request.get<null>('/user/uEditDevStandRange', data)

/**用户开启单个参数的合格标准 */
export const openDevStandRange = (data: {devSRId: number}) =>
  Request.get<null>('/user/openDevStandRange', data)

/**用户开启单个参数的合格标准 */
export const closeDevStandRange = (data: {devSRId: number}) =>
  Request.get<null>('/user/closeDevStandRange', data)
